<h2 class="span-13" style="background-color: #ccf">Danh sách tuyến</h2>

<!-- Search form -->
<?php 
echo $this->searchForm;
?>

<!-- Table -->
<?php if($this->paginator != null) { ?>
<div id="route-pagination" class="span-13">
<?php echo $this->paginationControl($this->paginator, 'Sliding', 'partials/route-pagination.phtml'); ?>
</div>
<table class="rounded-corner span-20" id="routeTable">
	<thead>
		<tr>
			<th scope="col" class="rounded-left">Thao tác</th>
			<th scope="col">Điểm đi</th>
			<th scope="col" >Điểm đến</th>
			<th scope="col" >Trạm đi</th>
			<th scope="col" class="rounded-right">Trạm đến</th>
		</tr>
	</thead>
	<tfoot>
    	<tr>
        	<td colspan="4" class="rounded-foot-left"></td>
        	<td class="rounded-foot-right">&nbsp;</td>
        </tr>
	</tfoot>
	<tbody>
		<?php echo $this->partialLoop('partials/_route-row.phtml', $this->paginator)?>
	</tbody>
</table>
<?php } else { ?>
<p>Không có tuyến nào</p>
<?php  } ?>
<div class="span-6 large"><a href="/admin/route/create">Tạo tuyến</a></div>